package com.zhongyou.bean.dto;

import java.math.BigDecimal;
import java.util.List;

public class GoodsDetailDto {

    private boolean isCollected;
    public List<GoodsPriceDetailItem> getGoodsPrices() {
        return goodsPrices;
    }

    public void setGoodsPrices(List<GoodsPriceDetailItem> goodsPrices) {
        this.goodsPrices = goodsPrices;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public boolean isCollected() {
        return isCollected;
    }

    public void setCollected(boolean collected) {
        isCollected = collected;
    }

    public static class GoodsPriceDetailItem {
        private int id;
        private BigDecimal price;
        private int points;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public BigDecimal getPrice() {
            return price;
        }

        public void setPrice(BigDecimal price) {
            this.price = price;
        }

        public String getPriceToken() {
            return priceToken;
        }

        public void setPriceToken(String priceToken) {
            this.priceToken = priceToken;
        }

        public int getLeftCount() {
            return leftCount;
        }

        public void setLeftCount(int leftCount) {
            this.leftCount = leftCount;
        }

        private String priceToken;
        private int leftCount;

        public int getPoints() {
            return points;
        }

        public void setPoints(int points) {
            this.points = points;
        }
    }

    public List<GoodsRuleGroup> getRuleGroups() {
        return ruleGroups;
    }

    public void setRuleGroups(List<GoodsRuleGroup> ruleGroups) {
        this.ruleGroups = ruleGroups;
    }

    public static class GoodsRuleDetail {
        private int id;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        private String title;

    }

    public static class GoodsRuleGroup {
        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<GoodsRuleDetail> getDetails() {
            return details;
        }

        public void setDetails(List<GoodsRuleDetail> details) {
            this.details = details;
        }

        private String title;
        List<GoodsRuleDetail> details;
    }

    private int id;
    private String title;
    private String[] imgSrcs;
    private int saleCount;
    private int leftCount;
    private String content;
    private String cover;
    private List<GoodsRuleGroup> ruleGroups;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String[] getImgSrcs() {
        return imgSrcs;
    }

    public void setImgSrcs(String[] imgSrcs) {
        this.imgSrcs = imgSrcs;
    }

    public int getSaleCount() {
        return saleCount;
    }

    public void setSaleCount(int saleCount) {
        this.saleCount = saleCount;
    }

    public int getLeftCount() {
        return leftCount;
    }

    public void setLeftCount(int leftCount) {
        this.leftCount = leftCount;
    }

    public BigDecimal getExpressFee() {
        return expressFee;
    }

    public void setExpressFee(BigDecimal expressFee) {
        this.expressFee = expressFee;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getPoints() {
        return points;
    }

    public void setPoints(int points) {
        this.points = points;
    }

    public ProviderDto getProvider() {
        return provider;
    }

    public void setProvider(ProviderDto provider) {
        this.provider = provider;
    }

    private BigDecimal expressFee;
    private BigDecimal price;
    private int points;
    private ProviderDto provider;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    private List<GoodsPriceDetailItem> goodsPrices;
}
